﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Hehq.Thirdservice.Wx.Services.Mp.Models
{

    public class MpBaseRest
    {
        public string errcode { get; set; }

        public string errmsg { get; set; }


        public string rid { get; set; }

        public bool IsOk()
        {
            return string.IsNullOrWhiteSpace(errcode);
        }

      
    }
    public class LoginSuccess:MpBaseRest
    {
        public LoginSuccess()
        {
            unionid = string.Empty;
            openid = string.Empty;
        }
        public string session_key { get; set; }
        public string openid { get; set; }


        public string unionid { get; set; }


    }
}
